﻿using System.Threading.Tasks;

namespace Sidvall.WorkItemManager
{
    public static class ServerManagerFactory
    {
        public static async Task<ServerManager> GetServerManagerAsync(int? serverConnectionId)
        {
            var item = new ServerManager();
            await item.InitializeAsync(serverConnectionId).ConfigureAwait(false);
            return item;
        }
    }
}
